body {
	background: #ddd;
	margin-top: 0.5em;
}

h1, h2, h3, h4 {
	margin-bottom: 0.2em;
}

hr {
	border: none;
	border-top: 1px solid #333;
}

a {
	text-decoration: none;
	color: #006;
}

a:hover {
	color: #000;
}

h1.board_title {
	float: right;
	padding-right: 1em;
	font-size: 120%;
}

#wrapper {
	padding: 1em;
	padding-top: 0.1em;
	background: #fff;
	width: 50em;
	margin-left: auto;
	margin-right: auto;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	-khtml-border-radius: 1em;
	border-radius: 1em;
}

#nav ul {
	padding: 0px;
	border-bottom: 1px solid #333;
}

#nav ul li {
	margin-right: 0.8em;
	display: inline;
}

#nav a {
	color: #333;
	font-variant: small-caps;
}

#nav a:hover {
	color: #000;
	border-bottom: 0.15em solid #000;
}

#footer {
	margin-top: 2em;
}

#content {
	margin-top: 1em;
}

#crumb {
	color: #fff;
	font-size: 80%;
	margin: 0;
	padding: 0.5em;
	padding-left: 1em;
	background: #333;
}

#crumb a {
	color: #fff;
	margin: 0;
}

/* View Topic */

.single_post {
	width: 50em;
	display: block;
	clear: both;
	border: 1px solid #888;
	margin-bottom: 0.5em;
}

.single_post .about {
	border-right: 1px dotted #aaa;
	font-size: 80%;
	width: 8em;
}

.single_post .author {
	font-size: 80%;
	background: #999;
}

.single_post .author td {
	padding: 0.1em;
	padding-left: 0.4em;
	background: #aaa;
}

.single_post .post_body {
	padding-left: 0.3em;
	width: 44em;
}

.single_post .actions {
	font-size: 80%;
	display: block;
	border-top: 1px dotted #888;
}

.single_post .actions * td {
	margin: 0;
	padding: 0;
	border-right: 1px dotted #aaa;
	padding-left: 1em;
	padding-right: 1em;
}

/* View Forum */

.forum {
	width: 50em;
	display: block;
	clear: both;
	border: 1px solid #888;
	margin-bottom: 0.5em;
}

.forum th {
	text-align: left;
}

.forum td {
	padding: 0.2em;
	border-top: 1px dotted #888;
}

.single_thread .name {
	width: 27em;
}

.single_thread .latest {
	font-size: 0.8em;
	width: 24em;
}

.single_thread .delete {
	text-align: center;
}

/* View Category */

.category {
	width: 50em;
	display: block;
	clear: both;
	border: 1px solid #888;
	margin-bottom: 0.5em;
}

.category th {
	text-align: left;
}

.category td {
	padding: 0.2em;
	border-top: 1px dotted #888;
}

.single_forum .name {
	width: 27em;
}

.single_forum .latest {
	font-size: 0.8em;
	width: 24em;
}

.single_forum .delete {
	text-align: center;
}

/* Home Screen */

.home {
	margin-top: 0.5em;
	width: 49.9em;
	display: block;
	clear: both;
	border: 1px solid #888;
}

.home th {
	text-align: left;
}

.home th.cat_name {
	padding-left: 0.2em;
	font-size: 1.2em;
}

.home th.delete {
	width: 2em;
	text-align: center;
}

.home .add_forum {
	text-align: center;
	font-size: 80%;
	border-top: 1px solid #888;
}

.single_category {
	border-top: 1px solid #888;
	width: 49.8em;
}

.single_forum td {
	border-top: 1px dotted #888;
}

.single_category .subheader + .single_forum td {
	border-top: none;
}

.single_category .subheader {
	background: #ccc;
}

.single_category .subheader .name {
	width: 27em;
}

/* Member List */

.memberlist {
	margin-top: 0.5em;
	width: 49.9em;
	display: block;
	margin-left: auto;
	margin-right: auto;
	clear: both;
	border: 1px solid #888;
}

.memberlist th {
	text-align: left;
	padding-left: 0.2em;
	border-right: 1px dotted #888;
}

.memberlist td {
	padding: 0.2em;
	border-right: 1px dotted #888;
	border-top: 1px dotted #888;
}

.memberlist th.admin {
	width: 1em;
	border: none;
	border-left: 1px dotted #888;
	padding: none;
	padding-left: 0.2em;
	text-align: right;
}

.memberlist .username {
	width: 10em;
}

.memberlist .posts {
	width: 3em;
}

.memberlist .joined {
	width: 5em;
}

.memberlist .delete {
	text-align: center;
	border-right: none;
	border-left: 1px dotted #888;
	width: 3em;
}

.memberlist .spacer {
	border-right: none;
	width: 27em;
}

/* Login */

.login {
	padding: 0.5em;
	padding-top: 0.2em;
	width: 20em;
	border: 1px solid #ccc;
	background: #ddd;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
}

.login p {
	font-size: 90%;
	margin-bottom: 0;
}

.login tr {
	text-align: right;
}

.login label {
	margin-right: 0.5em;
}

.login input {
	width: 15em;
}

.login .button {
	color: #fff;
	width: 5em;
	background: #333;
	border: 1px solid #888;
}

.login .centered {
	text-align: center;
}

.login h4 {
	text-align: center;
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}

.login_table {
	margin: 1em;
	margin-bottom: 0.2em;
	margin-top: 0.2em;
}

.login_table p {
	margin: 0;
	padding: 0;
}

/* Admin */

.admin {
	z-index: 50;
	color: #800;
	padding-right: 0.5em;
}

/* Flashdata */

.flash_data#flash_container {
	z-index: 50;
	margin: 0;
	padding: 0.2em;
	position: absolute;
	top: 0;
	background: transparent;
	display: block;
	width: 50em;
	text-align: center;
}

.flash_data #errors {
	border: 0.1em solid #888;
	border-top: none;
	color: #fff;
	background: #933;
	padding: 0.1em 1em;
}

.welcome#admin {
	width: auto;
	padding: 1em;
	margin-bottom: 0.5em;
	padding-bottom: 1em;
}